package com.onpositive.datamap.core.impl;

import com.onpositive.datamap.core.IImageObject;
import com.onpositive.datamap.core.INamedReference;

public class BasicNamedReference<T> implements INamedReference<T>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected String caption;
	protected long timestamp;
	
	public BasicNamedReference(String caption, IImageObject imageObject,
			String imageUrl) {
		super();
		this.caption = caption;
		this.imageObject = imageObject;
		this.imageUrl = imageUrl;
	}

	protected IImageObject imageObject;
	protected String imageUrl;
	
	@Override
	public String caption() {
		return caption;
	}

	@Override
	public IImageObject getImage() {
		return imageObject;
	}

	@Override
	public T resolve() {
		return null;
	}

	@Override
	public String url() {
		return imageUrl;
	}

	@Override
	public long getTimestamp() {
		return 0;
	}

}
